Unreliable I"net connection kills ODBC client.
am 05.03.2009 08:23:48 von Steve Richfield
--000e0cd17990a6ea9204645a0c1e
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi there,
This concerns the generally function web site http://www.DrEliza.com that
carries on discussions about people's chronic health problems, and sometimes
figures things out even when doctors fail. Dr. Eliza is written in Access
97, with some outboard pieces in VB5.
Every day or so, it crashes. The crash goes through a number of "stages":
1. First, it throws an Error 3146, with the message "No response from
backend" from the ODBC driver
2.
--000e0cd17990a6ea9204645a0c1e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi there,
=A0
This concerns the generally function web site
Eliza.com">http://www.DrEliza.com that carries on discussions about peo=
ple's chronic health problems, and sometimes figures things out even wh=
en doctors fail.=A0Dr. Eliza=A0is written in Access 97, with some outboard =
pieces in VB5.
=A0
Every day or so, it crashes. The crash goes through a number of "=
stages":
1. First, it throws an Error 3146, with the message "No response =
from backend" from the ODBC driver
2.=A0
--000e0cd17990a6ea9204645a0c1e--
Unreliable I"net connection kills ODBC client.
am 05.03.2009 08:40:58 von Steve Richfield
--000e0cd150a405ba5b04645a4afa
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi there,
This concerns the generally functional web site
http://www.DrEliza.comthat carries on
discussions about people's chronic health problems, and
sometimes figures things out even when doctors fail. Dr. Eliza is written in
Access 97, with some outboard pieces in VB5.
You enter a statement, which is then put into a DB. Dr. Eliza checks every
few seconds for a new entry, and when found, computes an appropriate reply.
Every day or so, Dr. Eliza crashes. The crash goes through a number of
"stages":
1. First, it throws an Error 3146, with the message "No response from
backend" from the ODBC driver
2. Dr. Eliza then retries, but the next time it gets an Error 3146, but
with the message "Could not send Query(connection dead)"
3. When the connection is restored, it continues to get the "Could not send
Query(connection dead)" message.
4. Eventually after some time, the entire application simply terminates,
Access and all, leaving no trace of any problem.
I secured a copy of the source code, and found the "Could not send
Query(connection dead)" message on the 2nd page of the CC_send_query_append
routine, where it queues the message and returns a NULL, apparently
indicating failure.
This is called on page 4 of the SC_execute routine, which apparently
interprets a failure NOT as a dead network, but rather that it was NOT a
Query command that was being processed.
One of the known weaknesses of C is its lack of alternative error returns or
other mechanisms to jump out of complex code when error conditions are
encountered. This may be a gotcha from this, where things rattle round and
round, perhaps eventually doing something crazy.
All this suggests that Windows ODBC applications are fundamentally
susceptible to unreliable connections. Is this true? Is there a workaround?
All thoughts, ideas, suggestions, etc., are GREATLY appreciated to firm this
site up and start saving lives.
BTW Please CC me at Steve (dot) Richfield (at) gmail (dot) com.
Thanks.
Steve Richfield
--000e0cd150a405ba5b04645a4afa
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi there,
=A0
This concerns the generally functional web site
op.js.OpenExtLink(window,event,this)" href=3D"http://www.dreliza.com/" targ=
et=3D"_blank">http://www.DrEliza.com that carries on discussions about =
people's chronic health problems, and sometimes figures things out even=
when doctors fail.=A0Dr. Eliza=A0is written in Access 97, with some outboa=
rd pieces in VB5.
=A0
You enter a statement, which is then put into a DB. Dr. Eliza checks e=
very few seconds for a new entry, and when found, computes an appropriate r=
eply.
=A0
Every day or so,=A0Dr. Eliza crashes. The crash goes through a number =
of "stages":
1.=A0 First, it throws an Error 3146, with the message "No respon=
se from backend" from the ODBC driver
2.=A0 Dr. Eliza then retries, but the next time it gets an Error 3146,=
but with the message "Could not send Query(connection dead)"
v>
3.=A0 When the connection is restored, it continues to get the "C=
ould not send Query(connection dead)" message.
4.=A0 Eventually after some time, the entire application simply termin=
ates, Access and all, leaving no trace of any problem.
=A0
I secured a copy of the source code, and found the "Could not sen=
d Query(connection dead)" message on the 2nd page of the CC_send_query=
_append routine, where it queues the message and returns a NULL, apparently=
indicating failure.
=A0
This is called on page 4 of the SC_execute routine, which apparently i=
nterprets a failure NOT as a dead network, but rather that it was NOT a Que=
ry command that was being processed.
=A0
One of the known weaknesses of C is its lack of alternative error retu=
rns or other mechanisms to jump out of complex code when error conditions a=
re encountered. This may be a gotcha from this, where things rattle round a=
nd round, perhaps eventually doing something crazy.
=A0
All this suggests that Windows ODBC applications are fundamentally sus=
ceptible to unreliable connections. Is this true? Is there a workaround?
iv>
=A0
All thoughts, ideas, suggestions, etc., are GREATLY appreciated to fir=
m this site up and start saving lives.
=A0
BTW Please=A0CC me at Steve (dot) Richfield (at) gmail (dot) com.
>
=A0
Thanks.
=A0
Steve Richfield
=A0
--000e0cd150a405ba5b04645a4afa--